<template>
  <div class="facialDeta">
    <header>
      <div class="wipe">
        <div class="before">
          <van-icon name="arrow-left" @click="$router.go(-1)" />
        </div>
        <div class="back">
          <van-icon name="star-o" />
          <van-icon name="cart-o" />
          <van-icon name="expand-o" />
        </div>
      </div>
      <div class="info">
        <p class="p1">￥3960/次 <span>券后到手价￥3310</span></p>
        <p class="p2">盛夏也要美</p>
      </div>
    </header>
    <main>
      <div class="content">
        <div class="left">
          <button>平台津补</button>
          <button>尾款券</button>
        </div>
        <div class="right" @click="$router.push({ name: 'coupon' })">领券></div>
      </div>

      <div>
        <div class="info1">
          <p>【微创锁骨】微创降锁骨</p>
          <p>降价提醒</p>
        </div>
        <div class="zz">
          <p>微创降额骨</p>
          <p>郑州 已预约：1300</p>
        </div>
      </div>
      <div class="allContent">
        <ul class="leftContent">
          <li>入选柯南筋骨弓整形术销量榜</li>
          <li>活动大促 该商品正在参加"盛夏也要美",点击...</li>
          <li>返现 本院会员可获得订单金额满5%的消费返现</li>
        </ul>
        <ul class="rightContent">
          <li><van-icon name="arrow" /></li>
          <li><van-icon name="arrow" /></li>
          <li><van-icon name="arrow" /></li>
        </ul>
      </div>

      <div class="diary">
        <p>下单写日记最高返现1000元</p>
        <button>快问</button>
      </div>
      <hr />
    </main>
    <footer>
      <div>
        <van-goods-action>
          <!-- <van-icon name="logistics" text="医院" /> -->
          <van-goods-action-icon icon="logistics" text="医院" />
          <van-goods-action-icon icon="shop-o" text="购物车" />
          <van-goods-action-button color="#be99ff" type="warning" text="私信" />
          <van-goods-action-button
            color="#7232dd"
            type="danger"
            text="领券购买"
          />
        </van-goods-action>
      </div>
    </footer>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.facialDeta {
  font-size: 30px;
}
.wipe {
  width: 100%;
  height: 600px;
  background: #ccc;
}
.before {
  float: left;
  background: rgb(143, 143, 143);
  border-radius: 50%;
  margin-left: 20px;
}
.back {
  height: 50px;
  float: right;
  .van-icon {
    background: rgb(143, 143, 143);
    border-radius: 50%;
    margin-right: 10px;
  }
}
.info {
  height: 100px;
  background: rgba(36, 36, 36, 0.82);
  .p1 {
    width: 400px;
    // background: red;
    font-size: 2px;
    float: left;
    line-height: 100px;
    text-align: center;
    color: white;
    span {
      display: block;
      float: right;
      width: 260px;
      background: white;
      color: black;
      border-radius: 50px;
      height: 30px;
      line-height: 30px;
      margin-top: 34px;
    }
  }
  .p2 {
    width: 300px;
    // background: yellow;
    float: right;
    font-size: 35px;
    line-height: 100px;
    text-align: center;
    color: white;
  }
}
.content {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .left {
    button {
      margin-left: 20px;
      border-radius: 20px;
      width: 200px;
    }
  }
  .right {
    margin-right: 20px;
  }
}
.info1 {
  display: flex;
  :nth-child(1) {
    width: 500px;
    // background: red;
    font-size: 30px;
    height: 100px;
    line-height: 100px;
  }
  :nth-child(2) {
    width: 300px;
    // background: blue;
    font-size: 30px;
    height: 100px;
    line-height: 100px;
    margin-right: 0;
  }
}
.zz {
  height: 50px;
  :nth-child(1) {
    float: left;
    font-size: 30px;
  }
  :nth-child(2) {
    float: right;
    font-size: 30px;
  }
}
.allContent {
  height: 200px;
  .leftContent {
    width: 700px;
    // background: red;
    float: left;
    li {
      margin-top: 15px;
      height: 50px;
    }
    :nth-child(1) {
      background: #ccc;
    }
  }
  .rightContent {
    width: 50px;
    // background: red;
    float: right;
    // padding: 8px;

    li {
      margin-top: 15px;
      height: 50px;
    }
  }
}
.diary {
  margin: 0 auto;
  display: flex;
  // background: red;
  font-size: 30px;
  margin-bottom: 30px;
  margin-top: 20px;
  p {
    width: 600px;
    // background: blue;
  }
  button {
    border-radius: 10px;
  }
}
.footer {
  background: red;
  display: flex;
  align-items: center;
  .footer1 {
    margin-left: 30px;
    text-align: center;
    width: 100px;
  }
  .footer2 {
    margin-left: 30px;
    text-align: center;
    width: 100px;
  }
  .btn {
    width: 500px;
    height: 80px;
    background: rebeccapurple;
    button {
      width: 200px;
      height: 80px;
      border-radius: 30px;
      margin-left: 20px;
    }
  }
}
</style>